<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>測試界面</title>
</head>
<body>
    <h1>测试</h1>
    <button><a href="/index.php/Index/getwxurl">签到</a></button>
    <br>
    <button><a href="/index.php/Uploadimg/index">最美瞬间</a></button>
    <br>
    <button><a href="/index.php/Shake/index">摇一摇</a></button>
    <br>
    <button><a href="/index.php/WinningRecord/index">中奖列表</a></button>
    <br>

    <button class="close-btn">关闭</button>
</body>
</html>
<script src="/Public/libs/jquery-1.9.1.min.js"></script>
<script>
    $('.close-btn').on('click',function(){
        alert('关闭');
        WeixinJSBridge.call('closeWindow');           
    })
    
</script>

<!-- <h1>测试</h1>
<button><a href="http://wx.lovepai.ren/index.php">签到</a></button>
<br>
<button><a href="http://wx.lovepai.ren/index.php/Uploadimg/index">最美瞬间</a></button>
<br>
<button><a href="http://wx.lovepai.ren/index.php/Shake/index">摇一摇</a></button>
<br>
<button><a href="http://wx.lovepai.ren/index.php/WinningRecord/index">中间列表</a></button> -->